#ifndef _V_IF_SimpleFileStream_INCLUDED_
#define _V_IF_SimpleFileStream_INCLUDED_

#include <vsys>
#include "CoreDataID.h"

enum kDocOp{kDocCreate=0,kDocSave,kDocLoadRead,kDocLoadWrite};

interface ISimpleFileStream : public IInterface
{
	DEFINE_IID(IID_SimpleFileStream)

	virtual vresult OpenFile(const wchar_t* sFileName,bool bCreate,bool bTruncate_existing )=0;
	virtual vresult OpenFile(const wchar_t* sFileName, kDocOp docop)=0;
	virtual HANDLE ReleaseFileHandle()=0;
};

#endif	//_V_IF_SimpleFileStream_INCLUDED_
